<?php
/*
*	$version: 2009-5-13 Pm 18:01:37
*	$id: config.inc.php 
*	$author: taoFeng
*	$mailto: font99@Gmail.com
*	$license: This is not a freeware
*/

if (!defined('IN_LEKO')) {header("HTTP/1.0 403 Forbidden");exit;}

$_G['dbType']						= 'mysql4';
$_G['dbHost']						= '127.0.0.1';
$_G['dbPort']						= '3306';
$_G['dbName']						= 'leko';
$_G['dbUser']						= 'root';
$_G['dbPass']						= '1q2w3e4r';

$_G['sessNewlink']					= false;
$_G['sessStorageType']				= "default";//SessionDb or SessionMemcache or default
$_G['sessDbHost']					= '127.0.0.1';
$_G['sessDbName']					= 'leko';
$_G['sessDbUser']					= 'root';
$_G['sessDbPass']					= '1q2w3e4r';
$_G['sessMemHost']					= '127.0.0.1';
$_G['sessMemPort']					= '11211';

$_G['dbPrefix']						= '';
$_G['dbPostfix']					= '';
$_G['tablePrefix']					= 'leko_';
$_G['tablePostfix']					= '';

$_G['sqlrelaySocket']				= '/tmp/sqlrelay.sock';
$_G['sqlrelayRetryTime']			= '0';
$_G['sqlrelayTries']				= '1';

$_G['langMeta']						= 'zh_cn';//language
$_G['configCacheDir']				= 'var/cache/config.cache' . $_G['phpEx'];//system cache
$_G['cssCacheDir']					= 'var/cache/css';
$_G['sessionDir']					= 'var/session';
$_G['logDir']						= 'var/log';

$_G['isCaptcha']					= true;//use Captcha

$_G['sessionCookie']				= '.leko.cn';

$_G['domainName']					= '.leko.cn';

$_G['cacheMs']						= 'Memcache';
$_G['memcacheHost']					= '127.0.0.1';
$_G['memcachePort']					= '11211';

$_G['cssName']						= '0';//default css
$_G['siteTplName']					= '0';
$_G['wwwTplName']					= 'index';

$_G['cookiePrefix']					= 'leko_';
$_G['cookiePostfix']				= '';

$_G['holdKey']						= array("www", "mp3", "photo", "bbs" , "search" , "video" , "group" , "forum" , "music" , "blog" , "mail" , "film" , "favorites" , "videos" , "musics" , "flash" , "events" , "groups" , "comedy" , "invite" , "browse" , "citys" , "city" , "class" , "classfieds" , "news" , "space" , "cache" , "temp" , "china" , "upload" , "act" , "passport" , "vip" , "tags" , "top" , "help" , "admin" , "root" , "administrator" , "system" , "sys","fuck","sex","ftp","jpeg","php","gif","jpg","png","htm","txt","html","dhtml","shtml","love","loveyou","friend","leko","xhtml","xml","swf","fla","mobile","wap","everybody","elle","mini","site","anxiang");

$_G['charSet']						= 'UTF-8';

$_G['floodRegister']				= 3600; //flood

$_G['replaceTag']					= array(",", ";", "；", "，", "。", "、", "　");//replace chars

$_G['ownerName']					= 'font';

$_G['ownerPass']					= '5416d7cd6ef195a0f7622a9c56b55e84';//md5('1q2w3e4r');

$_G['logDb']						= false;

$_G['loadControl']					= 3;

$_G['version']						= 0.01;

$_G['useSecondDomain']				= false;
?>